package com.global.gbinventory.exception;

import java.awt.Container;

import javax.swing.JOptionPane;

public class StarFieldsNotFilledException extends Exception{

	private static final long serialVersionUID = 681486280475054830L;

	public void printError(Container frame){
		String title = "Error Pengisian Formulir";
		String message = "Kolom dengan tanda * tidak boleh kosong !!";
		JOptionPane.showMessageDialog(frame, message, title, JOptionPane.INFORMATION_MESSAGE);
	}
	
}
